Perturbation Theory for Simultaneous Bases of Singular Subspaces