Nepal, rebels OK deal on constitution