Next has issued the latest in a long string of profit upgrades but has also warned that an equal pay ruling could force it to close stores