KP Sharma Oli steps down amid Nepal's worst unrest in decades, with at least 22 deaths reported in clashes.