Iran's Revolutionary Guards have released 10 US sailors held for entering its territorial waters in the Gulf, state television reported.