Girl who convinced her boyfriend to kill himself has been handed a jail sentence