The election was called after prime minister Andy Burnham stood down to run as Makerfield MP