Measurement of beauty photoproduction using decays into muons in dijet events at HERA