After water-logging, 850 inmates shifted from Ballia jail