osd: refactor ReplicatedPG::do_sub_op

PULL is the only case where we don't wait for active.

Signed-off-by: Sage Weil <sage@inktank.com>
osd: improve sub_op flag points

Signed-off-by: Sage Weil <sage@inktank.com>