Assembly narrowly rejects tax on superprofits