NBC: Scotland's leader resigns after failing to win support for weakened government