Selective darkening of degenerate transitions demonstrated with two superconducting quantum bits