Moves to limit prison custody for pregnant and postnatal women are welcome—and long overdue