Spain appoints deputy premier to replace Catalan leader