Lawyer for American detained in Iran says hostage deal is ‘easiest problem on the table’ for both sides