The legislation would direct the state to create pipeline safety regulations and, once they’re in place, end the moratorium.