Indonesian police say a hostage crisis at a high-security jail outside Jakarta ends after Islamist militant prisoners who killed five police surrender and release an officer they were holding.