Pakistani stocks end lower, rupee firms