Eleven wickets fell on day two in Galle, with Pakistan trailing by 187 runs