Police have closed their investigation into Matthew Perry's death after his passing was ruled an accident.