Bandlimited functions, curved manifolds, and self-adjoint extensions of symmetric operators