Indonesian police apologise after terrorising suspected thief with snake