HBASE-12072 Standardize retry handling for master operations