Cosmic degeneracies – II. Structure formation in joint simulations of warm dark matter and f(R) gravity