‘Mormon moment’ ends with a loss — but his religion still won