Police recovered 3 hostages from dacoits after encounter