Sudan reforms harsh Islamist legal code