Prime Minister Mariano Rajoy says Spain is firing the Catalan government as part of emergency measures the Senate approved following the region's declaration of independence.