Miller gets long-coming win with 5 shutout innings