Tricritical behavior in the dilute Ising ferromagnet