Libyan PM plans to step down by end of October