refactor _can_reorder_stmts to remove duplication
refactor _can_reorder_stmts to remove duplication

stuartarchibald/numba,numba/numba,stonebig/numba,numba/numba,seibert/numba,numba/numba,stuartarchibald/numba,stuartarchibald/numba,IntelLabs/numba,jriehl/numba,gmarkall/numba,IntelLabs/numba,jriehl/numba,gmarkall/numba,cpcloud/numba,cpcloud/numba,gmarkall/numba,jriehl/numba,gmarkall/numba,stonebig/numba,stonebig/numba,seibert/numba,seibert/numba,stonebig/numba,IntelLabs/numba,numba/numba,stuartarchibald/numba,IntelLabs/numba,cpcloud/numba,IntelLabs/numba,stuartarchibald/numba,jriehl/numba,stonebig/numba,sklam/numba,sklam/numba,jriehl/numba,numba/numba,seibert/numba,gmarkall/numba,sklam/numba,cpcloud/numba,sklam/numba,seibert/numba,cpcloud/numba,sklam/numba