Bianchi type-IX electromagnetic universes