Schur indices and the p-adic langlands program