Arson squad detectives have charged a man over a blaze they allege was deliberately lit at a cemetery south of Perth.