The return marks the conclusion of what President Biden called a “brutal ordeal” for the three Americans and their families following their detentions in Russia, where prisoners are often kept in harrowing conditions.