SERVER-16503 take correct lock for index builds during replication apply ops