scalar emulation masked load replaced by if_else
masked load using blend removed, replaced in common by if_else to eliminate code duplication