Judge grants Miley Cyrus civil restraining order