Court allows Allergan shareholders to go after Ackman, Valeant as a class