HBASE-12565 Race condition in HRegion.batchMutate() causes partial data to be written when region closes

Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java