The approval of the contentious amnesty law comes a day after Catalonia's president Pere Aragones called for a snap election in May.