The pending cases raise questions involving the intersection of religion and anti-discrimination laws, an issue left unresolved by the justices’ landmark decision extending workplace anti-bias protections to gay, lesbian and transgender employees.