Spanish MPs agree to amnesty Catalan separatists