Permanent tuning of quantum dot transitions to degenerate microcavity resonances