The government is trying to find a solution to banning depictions of step-incest in online pornography amid warnings of a “significant rebellion” from female MPs.