Nepal takes first steps to move out of India's shadow, China gains