South Sudan forms autonomous government after deal