30-day rape sentence may be illegal, says Montana judge at center of controversy