Pakistan PM faces dismissal in court battle