An ex-immigration detainee who is accused of brutally bashing and robbing an elderly couple in their Perth home will remain behind bars after his second bid for bail was rejected.