Optimal Static Priority Rules for Stochastic Scheduling with Impatience