Spanish government agrees to call new elections in Catalonia