Senate debates abortion law rewrite