The sudden resignation of the most senior Roman Catholic cardinal in Britain, who stepped aside on Monday in the face of accusations that he made unwanted sexual advances toward priests years ago, showed that the taint of scandal could force a cardinal from participating in the selection of a new pope.