Pak to free 367 Indian prisoners