Libyan interior minister restored to post after talks