Jamshed’s best lifts Pakistan to 177-6